import BackTop from "components/content/backTop/BackTop";

//返回顶部的功能
export const backTopMixin = {
  data() {
    return {
      isShowBackTop: false
    }
  },
  components: {
    BackTop
  },
  methods: {
    //返回顶部
    backClick() {
      this.$refs.scroll.scrollTo(0, 0, 1000)
    },
  }
}